The customer's server is Ubuntu + apache2 + ruby on rails. Currently, some pages on the customer's server always report the 500 error. The ruby language is only known and has not been studied in depth. I have never set up a ruby server environment, and it is strange that the customer uses ubuntu as the server. After installing
Linux operating system: CentOS6.3 64bitruby:ruby-2.0.0-p247
I. Installing the development pack (using the default CentOS update source)
Copy Code code as follows:
# yum Install openssl* openssl-devel zlib-devel gcc gcc-c++ make autoconf readline-devel curl-devel expat-devel gettext-de Vel
Two. Close Iptables and SELinux
Copy Code code as follows:
# Service Iptable
Ruby 1.9.3-P0 makes psych-the replacement for 1.8.7'sYamlLibrary, syck-the defaultYamlParser. Psych is a wrapper around und libyaml, so you're Going To Need it installed and configuredBeforeInstalling Ruby.
If you install 1.9.3-P0 without libyaml, You'll see warnings like this:
It seems your ruby installation is mi
the current working environment. After that, you can switch back to the working gemset.
Most ides also support RVM. You can automatically identify the Ruby version and GemSet managed by RVM to switch the Ruby parsing environment.
Build a Ruby on Rails environment on CentOS 5.9
Configure
The tailor made for the Basix users among. If you've been itching to try out Ruby and/or Rails, if the Terminal are somewhat new to you, your may find that even the PR Ocess of installing it can generate countless confusing errors. This article would detail the exact steps you need to follow for get Ruby up and running on your Mac. Step 1-RVMWhat are interested to know are that
How to configure the Ruby development environment in CentOS 7, centosruby
This article will share with you a tutorial on how to configure the Ruby development environment in CentOS 7 for your reference. Here is a detailed introduction:
Install
The production and Running Environments recommended by Ruby on Rails are Linux/FreeBSD/Unix, that is, UNIX operating systems. They use Lighttpd + fcgi solutions. I will take the Linux operating system, Lighttpd + fcgi, MySQL database as an example, from
Source code Compilation and installation start. Before installation, ensure that the GCC compiler has been installed in the Linux operating system. Otherwise, use the Linux installation CD to
Linux operating system: CentOS6.3 64bitruby:ruby-2.0.0-p247I. Installing the development pack (using the default CentOS update source):
The code is as follows
Copy Code
# yum Install openssl* openssl-devel zlib-devel gcc gcc-c++ make autoconf readline-devel curl-devel expat-devel gettext-de Vel
Two. Close Iptables and SELinux
The code is as follows
Cop
Install Ruby, Rails runtime environment, and rubyrails quickly and correctly
How to quickly and correctly install Ruby and Rails runtime Environments
For new entry-level developers, installing Ruby, Ruby Gems, and Rails running en
version, yum not working properly
Copy Code code as follows:
$vi/usr/bin/yum
Change the #/usr/bin/python of the text edit to #/usr/bin/python2.4 and save the changes.
second, the installation of dependent packages#yum install gcc gcc-c++ openssl* readline* ncurses* zlib* libxml* libjpeg* libpng* libxslt* libtool*
Iii. installation of Nodejs
Copy Code code as follows:
wget http://nodejs.org/dist/v0.8.5/nod
For newly-introduced developers, how to install Ruby, the operating environment of Ruby Gems and Rails can be a problem, this page focuses on how to quickly install a ruby development environment with a reliable path.The secondary installation method is also applicable to th
Https://ruby-china.org/wiki/install_ruby_guideHow to quickly and correctly install Ruby and rails runtime Environments
For new entry-level developers, installing Ruby, Ruby gems, and rails running environments may be a problem. This section describes how to quickly
For beginners, how to install Ruby, Ruby gems, and rails execution environments may be a problem. This section describes how to install the ruby development environment quickly with a reliable path.The same installation method applies to the product environment!System Requir
For new entry-level developers, how to install Ruby, Ruby Gems and Rails running environments can be a problem, and this page focuses on how to quickly install a ruby development environment with a plausible path.The secondary installation method also applies to the product
For newly-introduced developers, how to install Ruby, the operating environment of Ruby Gems and Rails can be a problem, this page focuses on how to quickly install a ruby development environment with a reliable path.The secondary installation method is also applicable to th
Configure Ruby on Rails in CentOS and deploy RedmineGitMake sure that the dependent packages are installed:[Plain] view plaincopy
Yuminstallcurl
Yuminstallcurl-devel
Yuminstallzlib-devel
Yuminstallopenssl-devel
Yuminstallperl
Yuminstallcpio
Yuminstallexpat-devel
Yuminstallgettext-devel
Download the git package and compile and install it:
[Plain] view pl
System RequirementsFirst determine the operating system environment, it is not recommended to engage in Windows, so you need to use:
Mac OS X
Any Linux distribution (Ubuntu,centos, Redhat, ArchLinux ...)
Strong novice use Ubuntu saves unnecessary hassle!
The following code area, with a $ first representation, needs to be performed under the Console (terminal) (not including the $ symbol)Step 0-
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.